#ifndef MYTEXT_H_INCLUDED
#define MYTEXT_H_INCLUDED

#include "SDL/SDL_ttf.h"
#include "mygrafx.h"
#include <sstream>


class MyText {

    private:

    TTF_Font* font;

    public:

    MyText(){}
    MyText(int size, char* filename="ARIAL.TTF");
    ~MyText();
    void setup(int size, char* filename="ARIAL.TTF");
//Draw if int or if string
    void draw(char* string, int x, int y, int fR=255, int fG=255, int fB=255, SDL_Surface* screen=GlobalScreen::screen);
    void draw(int number, int x, int y, int fR=255, int fG=255, int fB=255, SDL_Surface* screen=GlobalScreen::screen);

};

#endif // MYTEXT_H_INCLUDED
